package me.zhengjie.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import me.zhengjie.domain.FlowConfig;
import me.zhengjie.domain.vo.FlowConfigQueryCriteria;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 18485
 */
@Mapper
public interface FlowConfigToolMapper extends BaseMapper<FlowConfig> {


    IPage<FlowConfig> findAll(@Param("criteria") FlowConfigQueryCriteria criteria, Page<Object> page);

    List<FlowConfig> findAll(@Param("criteria") FlowConfigQueryCriteria criteria);

    FlowConfig findOne (@Param("criteria") FlowConfigQueryCriteria criteria);
}
